function printPhoneBook()
{
    $("#printPhonebookFormDiv").dialog({
		buttons: {
			"Скачать": function(){
				$('#printPhonebookForm').submit();
                $(this).dialog("close");
        	},
			"Отмена": function(){
				$(this).dialog("close");
			}
		},
		modal: true,
		draggable : false
	}).dialog("open");
}